package top.sdaily.business.service.crm;

import top.sdaily.core.mybatis.Page;
import top.sdaily.business.model.crm.Customer;

import java.util.List;

/**
 * Created by TsujiShiki on 2017/02/07.
 */
public interface CustomerService {

    List<Customer> getPageCustomer(Page page);

    Customer getCustomerById(String id);

    int insertCustomer(Customer customer);

    int updateCustomer(Customer customer);

    List<Customer> getAllEnabledCustomer(String condition);

}
